partial js